#pragma once
#include <iostream>
using namespace std;
typedef int STDateType;
class Stack
{
public:
	Stack(int capacity = 4);
	~Stack();
	void Push(STDateType index);
	void Pop();
	STDateType& Top();
	bool Empty();
	int Size();
private:
	STDateType* _arr;
	int _capacity;
	int _size;
};


